﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using MyWeb.Data;
using MyWeb.Business;
using MyWeb.Common;

namespace WebBanHang.Module
{
    public partial class Banner : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                //imgBanner.ImageUrl = AdvertiseService.Advertise_GetByTop("1", "Position=0", "").Rows[0]["Url"].ToString();
                imgBanner.ImageUrl = "~/Images/Advertise/25_4_2012_2_44_59.jpg";
            }
        }
    }
}